package routers

import (
	"gin_study_blog/api"
	"gin_study_blog/middleware"
)

func (r RouterGroup) LogRouter() {
	logApi := api.ApiGroupApp.LogApi
	// 日志列表
	r.GET("log_list", middleware.JwtAdminAuth(), middleware.JwtUserAuth(), logApi.LogApiView)
	r.DELETE("delete", middleware.JwtUserAuth(), logApi.LogDeleteView)
}
